//
//  BVCMSAppDelegate.h
//  BVCMS
//
//  Created by Allen Thomas on 10/25/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@class RootLoginViewController;

@interface BVCMSAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    RootLoginViewController *viewController;
	UITabBarController *tabBar;
	
	NSString *cmsServer;
	NSString *username;
	NSString *password;
	NSMutableArray *organizations;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet RootLoginViewController *viewController;

@property (nonatomic, retain) NSString *cmsServer;
@property (nonatomic, retain) NSString *username;
@property (nonatomic, retain) NSString *password;
@property (nonatomic, retain) NSMutableArray *organizations;


+ (CATransition *)transitionWithDuration:(float)duration andType:(NSString *)type andSubtype:(NSString *)subtype;

- (void)login;
- (void)logout;

@end

